home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
cmln1085.arc
/
P9.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1986-02-27
|
768b
|
25 lines
program p9; {escape function tester}
{tests cursor control in GSX. Add others to the
code here to test the device dependent features.}
var x,y,i,j,p : integer; s : string[255];
mode, device : integer;
{$iB:GSXWORK.INC}
{$iB:GSXTEXT.INC}
{$iB:GSXINPUT.INC}
{$iB:GSXESCAP.INC}
begin
write('Enter workstation number > '); readln(i); writeln;
openstation(i);
entergraphics;
s:= 'hello';
showtext(s, length(s), 1500*j, 1500*y);
readln;
exitgraphics;
reversevideoon;
for p := 1 to 20 do begin cursorup; cursorright end;
puttext(length(s),s);
closestation
end.